<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Document</title>
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  <meta name="description" content="Description">
  <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
  
  <link rel="stylesheet" href="/lynkco-hybrid-doc/vendor/vue.css">
  <link rel="stylesheet" href="/lynkco-hybrid-doc/vendor/vuep.css">
  <script type="text/javascript" charset="utf-8" src="/lynkco-hybrid-doc/cordova/index.js"></script>
  <script src="https://cdn.jsdelivr.net/npm/vue"></script>
  <!-- OR -->
  <!-- <link rel="stylesheet" href="/vendor/vue.css">
  <link rel="stylesheet" href="/vendor/vuep.css">
  <script type="text/javascript" charset="utf-8" src="/cordova.js"></script> -->
</head>
<body>
  <div id="app"></div>
  <script>
    window.$docsify = {
      auto2top: true, //当路线改变时，滚动到屏幕的顶部。
      executeScript: true, //执行页面上的脚本。只解析第一个脚本标记（演示）。如果存在Vue，则默认开启。
      loadSidebar: 'sidebar.md', //_sidebar.md如果为真，则从_sidebar.md文件加载边栏，否则从指定的路径加载。
      mergeNavbar: true,//Navbar将在小屏幕上与侧边栏合并。
      maxLevel: 4,//最大的内容表级别。
      subMaxLevel: 3,//在自定义边栏中添加目录（TOC）。
      ga: 'UA-106147152-1',
      name: 'Cordova-Hybrid',

    }
    const sweetApp = new Vue({
    })
    window.sweetApp=sweetApp

    successCallback = function(result)
    {
      if(result){
          alert(JSON.stringify(result))
      }else{
          alert('成功')
      }
    };
    successWithResultCallback = function(result)
    {
      if(result){
          Cordova.exec(null,null, "CarControlPlugin","showResult",[JSON.stringify(result)]);
      }else{
          alert('成功')
      }
    };
    failedCallback = function(errMsg)
    {
      alert(JSON.stringify(errMsg))
    };
  </script>

  <script src="/lynkco-hybrid-doc/vendor/docsify.js"></script>
  <script src="/lynkco-hybrid-doc/vendor/vue.min.js"></script>
  <script src="/lynkco-hybrid-doc/vendor/vuep.min.js"></script>
  <script src="/lynkco-hybrid-doc/vendor/babel.min.js"></script>
  <!-- OR -->
  <!-- <script src="/vendor/docsify.js"></script>
  <script src="/vendor/vue.min.js"></script>
  <script src="/vendor/vuep.min.js"></script>
  <script src="/vendor/babel.min.js"></script> -->
</body>
</html>